<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>店铺管理</title>
  <link href="https://cdn.bootcss.com/materialize/1.0.0-rc.1/css/materialize.min.css" rel="stylesheet">
</head>

<body>
  <nav>
    <div class="nav-wrapper">
      <a href="/pages/user-end/shop_list.html" class="brand-logo"> 商城</a>
      <ul id="nav-mobile" class="right hide-on-med-and-down">
        <li>
          <a href="/">返回登录页</a>
        </li>
      </ul>
    </div>
  </nav>

  <div class="container">
    <h2>订单列表</h2>
    <div id="order_list" class="collection"></div>

    <hr/>

    <h2>菜品列表</h2>

    <div id="food_list" class="collection"></div>

    <div class="row">
      <div class="col s12 m8">
        <div class="card">
          <div class="card-content">
            <span class="card-title">添加菜品</span>
            <div class="input-field">
              <input name="name" id="name" type="text">
              <label for="name">菜名</label>
            </div>
            <div class="input-field">
              <input name="price" id="price" type="text">
              <label for="price">价格</label>
            </div>
            <div class="input-field">
              <input name="desc" id="desc" type="text">
              <label for="desc">详细描述</label>
            </div>
          </div>
          <div class="card-action">
            <a id="btn-add-food" href="#" id="user_login_btn">点我登录</a>
          </div>
        </div>
      </div>
    </div>

    <!-- <form id="form-add-food">
      菜名:
      <input name="name" /> 价格:
      <input name="price" /> 详细描述:
      <input name="desc" />
      <button id="btn-add-food" type="button">添加</button>
    </form> -->

    <!-- <ul id="food_list"></ul> -->
  </div>

  <script src="https://cdn.bootcss.com/materialize/1.0.0-rc.1/js/materialize.min.js"></script>
  <script src="https://cdn.bootcss.com/require.js/2.3.5/require.min.js"></script>
  <script>
    requirejs(['../../js/common'], common => {
      requirejs(['app/shop-end/index'])
    })
  </script>
</body>

</html>